package com.kingtao.service;

import com.kingtao.entry.Node;

/**
 * @Author: kingtao
 * @Date: 2023-07-27-14:50
 * @Description:
 */
public interface NodeGroupService extends LifeInit{
    //  新增节点
    public void appendNode(Node node);

    //  筛选  Leader
    public void setLeader();

    //  筛选  secondLeader
    public void setSecondLeader();

    //  筛选  followerLeader
    public void setFollowerLeader();

    //  选择某一小组组长
    public void setFollowerLeaderById(int id);

    //  node  作恶
    public void punishNode(int nodeId);

    //  node 诚实工作的奖励
    public void rewardNode(int nodeId);
}
